package com.redtree.air.events
{
	import flash.events.EventDispatcher;
	
	import mx.core.UIComponent;
	//自定义事件触发类
	public class MyEventDispatcher extends EventDispatcher
	{
		private static var _instance:MyEventDispatcher;
		public static const EXEC_PARENT_METHOD:String="ExecParentMethod"; //执行Parent方法
		public static function getInstance():MyEventDispatcher
		{
			if(_instance==null){
				_instance=new MyEventDispatcher();
			}
			return _instance;
		}
		public var Source:UIComponent; //事件源对象
		public var Parsms:Object; //主要用于参数传递
	}
}